iT邦幫忙

2

[jupyter notebook] win 10 遠端連線jupyter notebook

  • 分享至 

  • xImage
  •  

當有強大的險卡安裝在桌電上,但又需要帶著筆電到處移動,這時候該怎麼辦?
在桌電上建置jupyter lab,有需要時再連回來使用桌電上的資源


[Server edge]

  1. 安裝jupyter notebook

  2. 生成sha1密碼
    from notebook.auth import passwd; passwd()
    https://ithelp.ithome.com.tw/upload/images/20190426/201150862ZVaDYXJU2.png
    並複製生成的shaed password備用。

  3. 生成jupyter的config,並修改參數
    jupyter notebook --generate-config
    https://ithelp.ithome.com.tw/upload/images/20190426/20115086FdUgXku9yR.png
    開啟生成的.py檔後修改以下參數,記得把最前面的#符號刪除
    https://ithelp.ithome.com.tw/upload/images/20190426/20115086iGAO1wbn7B.png

c.NotebookApp.ip = '*' '不限定登入IP
c.NotebookApp.password = u' sha1:-----' #這裡就是上面的字串
c.NotebookApp.port = 8000   # 這裡的埠可以自己定義

4.開啟 jupyter notebook,就大功告成喔!


[Server edge]
1.在瀏覽器key in : ip_address : port 就大功告成喔!!!


圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

1 則留言

0
sunnyyeh
iT邦新手 5 級 ‧ 2021-12-20 20:22:14

您好 我想問一下
進來之後這邊的密碼 是要輸入哪個密碼@@
https://ithelp.ithome.com.tw/upload/images/20211220/20116303xrsSafwyn0.png

我要留言

立即登入留言